package IoC;

public class Tire {
    private int size = 20;
    public Tire(int size) {
        //构造轮胎
        this.size = size;
    }
    public void init() {
        //启用轮胎
        System.out.println("轮胎尺寸为"+size);
    }
}
